* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    display: block;
}

body {
    display: flex;
    flex-direction: column;
}

/*header*/
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 .1rem;
    height: 1.0667rem;
    background: #1d6dff;
    // padding: 0.1333rem;
    position: relative;


    h2 {
        // display: inline-block;
        width: 4rem;
        text-align: center;
        font-size: .5333rem;
        line-height: 1.0667rem;
        font-weight: bolder;
        color: #fff;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        // padding-left: 2.5rem;
    }

    .back {
        text-align: center;
        line-height: .5rem;

        a.left-logo {
            img {
                width: 3.3rem;
                margin-left: .1333rem;
                height: .6667rem;
                float: left;
            }
        }
    }
}

.right-logo {
    float: right;
    padding: 0.1867rem;

    a {
        img {
            height: 0.9067rem;
        }
    }
}

/*search*/
#search {
    background: #fff;
    border-bottom: .0267rem solid #ccc;
    width: 100%;
    position: relative;

    .search-left {
        padding: .2667rem;

        input {
            height: .8rem;
            width: 90%;
            padding-left: 5%;
            border-radius: .4rem;
            background-color: #f1f1f1;
            border: none;
            font-size: .4267rem;
            outline: none;
        }
    }

    .search-right>input {
        width: 1.68rem;
        height: .8rem;
        background: #1d6dff;
        border-radius: .4rem;
        position: absolute;
        right: .2667rem;
        top: .2667rem;
        border: none;
        color: #fff;
        line-height: .8rem;
        font-size: .4267rem;
    }
}

main {
    padding: 0.05rem;

    .position {
        line-height: .38rem;
        height: .38rem;
        font-size: .14rem;
        padding-left: .15rem;
        background-image: linear-gradient(to bottom, #fff, #ccc);

        a {
            color: #666;
        }
    }

    .content {
        .container {
            .contImg {
                width: 3.2rem;
                margin: 0 auto;
            }

            h2 {
                text-align: center;
                font-weight: normal;
                font: .5867rem/.6933rem '';
                margin-bottom: .8rem;
            }
        }
    }

    .shop {
        padding: .2rem 0;
        display: flex;
        justify-content: space-around;
        align-items: center;
        border-bottom: .01rem solid #ccc;

        .buy {
            width: .6rem;
            height: .3rem;
            background-color: brown;
            border: 0;
            color: #fff;
            font-size: .3733rem;
        }
    }

    h3 {
        text-align: center;
        background: green;
        font-size: .64rem;
        font-weight: 900;
        height: .8533rem;
        margin: .5333rem 0;
        line-height: .8533rem;
    }

    .comment {
        font-size: .48rem;
        line-height: 2em;

        li {

            h4 {
                font: .48rem/.64rem '';
                color: blue;
                margin: .2667rem;

                span {
                    float: right;
                    color: red;
                }
            }

            p {
                text-align: justify;
                margin: .4rem 0;
                font: .48rem/.64rem '';
                color: yellowgreen;
            }
        }
    }
}

/*footer*/
#footer {
    .top {
        height: 1.3333rem;
        background-color: #f4f4f4;
        padding: .2667rem;

        a {
            display: block;
            font-size: .3467rem;
            line-height: .8rem;
            text-align: center;
            color: #666;
            border-radius: .1333rem;
            border: .0267rem solid #dddddd;
            background-image: linear-gradient(#ffffff, #f4f4f4);
        }
    }

    .center {
        background-color: #1d6dff;
        margin-top: .2667rem;
        margin-bottom: .16rem;
        overflow: hidden;

        .center-left {
            color: #fff;
            display: inline-block;
            font: bolder .48rem/.9333rem "Microsoft soft";
            padding-left: .2667rem;
            float: left;
        }

        .center-right {
            float: right;
            line-height: .9333rem;
            padding-right: .2667rem;

            img {
                width: .5333rem;
                height: .5333rem;
                margin-top: .2133rem;
            }
        }
    }

    .bottom {
        .list {
            padding-right: .4rem;
            padding-left: .4rem;
            margin-right: auto;
            margin-left: auto;

            .row {
                display: flex;
                justify-content: space-between;
                height: .96rem;
                margin-top: .2667rem;
                margin-right: -0.4rem;
                margin-left: -0.4rem;
                border-top: .0267rem solid #c4c4c4;
                border-bottom: .0267rem solid #c4c4c4;

                a {
                    display: block;
                    color: #666;
                    float: left;
                    height: .88rem;
                    line-height: .88rem;
                    text-align: center;
                    font-size: .3733rem;
                    border-right: .0267rem solid #c4c4c4;
                }

                a:nth-of-type(1) {
                    width: 25%;
                }

                a:nth-of-type(2) {
                    width: 33.33333333%;
                }

                a:nth-of-type(3) {
                    width: 41.66666667%;
                }
            }
        }

        .cont {
            text-align: center;
            padding: .2667rem;

            p {
                margin: 0 0 .2667rem 0;

                a {
                    color: #666;
                }
            }
        }
    }
}